#!/bin/sh

yes | cp instance/client/whitelist_client/aspect_policy.cfg.tcm instance/client/whitelist_client/aspect_policy.cfg
yes | cp instance/server/whitelist_server/aspect_policy.cfg.tcm instance/server/whitelist_server/aspect_policy.cfg
killall envset_proc
sleep 1

sh run_cube.sh exec_def/question4/_CA.def &
sleep 1
sh run_cube.sh exec_def/question4/_server_tcm.def &
sleep 2
sh run_cube.sh exec_def/question4/_whitelist_server.def login.msg &
sleep 5
sh run_cube.sh exec_def/question4/_client_tcm.def &
sleep 1
sh run_cube.sh exec_def/question4/_whitelist_client.def login.msg
